﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using Com.Framework;
using Com.Library.Cookie;
namespace Com.Web.coffinegurunaru.login
{
	public partial class logoutproc : System.Web.UI.Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			string Redirect = Request.Form["Redirect"].Parse(string.Empty);

			WebCookie Cookie = new WebCookie();
			Cookie.Clear();


			if (Redirect == string.Empty)
			{
				Redirect = "/default.aspx";
			}
			ClientScript.RegisterClientScriptBlock(this.GetType(), "loginproc", @"
<script language='javascript'>
location.href=""" + Redirect + @"""
</script>
");
		}
	}
}
